package com.getui.java.advancedpushmessage;

import com.getui.java.COMM;
import com.gexin.rp.sdk.base.IAliasResult;
import com.gexin.rp.sdk.http.IGtPush;

public class AliasFunction5 {
	static String CID = "e605a0db5ce3cca9b76b012978064940";
	static String Alias = "个推1";

	public static void main(String[] args) throws Exception {
		IGtPush push = new IGtPush(COMM.host, COMM.appKey, COMM.masterSecret);

		IAliasResult AliasUnBindAll = push.unBindAliasAll(COMM.appId, "aliastest");
		System.out.println("解除绑定结果:" + AliasUnBindAll.getResult() + " "
				+ AliasUnBindAll.getErrorMsg());

		AliasUnBindAll = push.unBindAliasAll(COMM.appId, Alias);
		System.out.println("解除绑定结果:" + AliasUnBindAll.getResult() + " "
				+ AliasUnBindAll.getErrorMsg());
	}
}